/*  1:   */ package org.jetbrains.jps.model.java.impl.runConfiguration;
/*  2:   */ 
/*  3:   */

import com.intellij.util.xmlb.XmlSerializerUtil;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.jps.model.ex.JpsElementBase;
import org.jetbrains.jps.model.java.runConfiguration.JpsApplicationRunConfigurationProperties;
import org.jetbrains.jps.model.java.runConfiguration.JpsApplicationRunConfigurationState;

/*  4:   */
/*  5:   */
/*  6:   */
/*  7:   */
/*  8:   */ 
/*  9:   */ public class JpsApplicationRunConfigurationPropertiesImpl
/* 10:   */   extends JpsElementBase<JpsApplicationRunConfigurationPropertiesImpl>
/* 11:   */   implements JpsApplicationRunConfigurationProperties
/* 12:   */ {
/* 13:   */   private JpsApplicationRunConfigurationState a;
/* 14:   */   
/* 15:   */   public JpsApplicationRunConfigurationPropertiesImpl(JpsApplicationRunConfigurationState paramJpsApplicationRunConfigurationState)
/* 16:   */   {
/* 17:31 */     this.a = paramJpsApplicationRunConfigurationState;
/* 18:   */   }
/* 19:   */   
/* 20:   */   @NotNull
/* 21:   */   public JpsApplicationRunConfigurationPropertiesImpl createCopy()
/* 22:   */   {
/* 23:37 */     void tmp17_14 = new JpsApplicationRunConfigurationPropertiesImpl((JpsApplicationRunConfigurationState)XmlSerializerUtil.createCopy(this.a));
/* 24:37 */     if (tmp17_14 == null) {
/* 25:37 */       throw new IllegalStateException(String.format("@NotNull method %s.%s must not return null", new Object[] { "org/jetbrains/jps/model/java/impl/runConfiguration/JpsApplicationRunConfigurationPropertiesImpl", "createCopy" }));
/* 26:   */     }
/* 27:37 */     return tmp17_14;
/* 28:   */   }
/* 29:   */   
/* 30:   */   public void applyChanges(@NotNull JpsApplicationRunConfigurationPropertiesImpl paramJpsApplicationRunConfigurationPropertiesImpl)
/* 31:   */   {
/* 32:42 */     if (paramJpsApplicationRunConfigurationPropertiesImpl == null) {
/* 33:42 */       throw new IllegalArgumentException(String.format("Argument %s for @NotNull parameter of %s.%s must not be null", new Object[] { "0", "org/jetbrains/jps/model/java/impl/runConfiguration/JpsApplicationRunConfigurationPropertiesImpl", "applyChanges" }));
/* 34:   */     }
/* 35:42 */     XmlSerializerUtil.copyBean(paramJpsApplicationRunConfigurationPropertiesImpl.a, this.a);
/* 36:   */   }
/* 37:   */   
/* 38:   */   public String getMainClass()
/* 39:   */   {
/* 40:47 */     return this.a.MAIN_CLASS_NAME;
/* 41:   */   }
/* 42:   */   
/* 43:   */   public void setMainClass(String paramString)
/* 44:   */   {
/* 45:52 */     this.a.MAIN_CLASS_NAME = paramString;
/* 46:   */   }
/* 47:   */ }



/* Location:           E:\idea\

 * Qualified Name:     org.jetbrains.jps.model.java.impl.runConfiguration.JpsApplicationRunConfigurationPropertiesImpl

 * JD-Core Version:    0.7.0.1

 */